import { configureStore } from "@reduxjs/toolkit";
import userReducer from "./modules/user";

// 组合redux子模块 + 导出store实例
const store = configureStore({
  reducer: {
    user: userReducer,
  },
});

// 暴露仓库
export default store;
